SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 37236: An error occurs when you read a data set that was created using an UPLOAD or DOWNLOAD procedure that includes the DATECOPY and ENCRYPT=YES options

DetailsAboutRate It

You might get the following error when you read a data set that was created using PROC UPLOAD or PROC DOWNLOAD with the options DATECOPY and ENCRYPT=YES:

ERROR: Expecting page 1, got page -1 instead.
ERROR: Page validation error while reading D.RIF21ST.DATA.
ERROR: File xxxx.xxxx.xxxx is damaged. I/O processing did not complete.
ERROR: Expecting page 1, got page -1 instead.

When you receive this error, the name of the affected file will display instead of xxxx.xxxx.xxxx.

The error occurs because the DATECOPY option cannot be used with encrypted files. If you code these options with PROC UPLOAD or PROC DOWNLOAD, unusable, corrupt data sets might be generated.

As a workaround, do not code DATECOPY with ENCRYPT=YES in PROC UPLOAD or PROC DOWNLOAD.

This issue is planned to be addressed in a future revision of SAS®.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/CONNECTz/OS9.1 TS1M3 SP49.2 TS2M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.